#include <stdio.h>
#include <unistd.h>

void test1(){
    int p[][4] = {{1},{3,2},{4,5,6},{0}};
    cout << p[1][2] << endl;
}

void test2(){
    int a = 21;
    a ^= (1<<5)-1;
    cout << a << endl;
}

void test3(){
    int i, j, k = 0;
    for (i = 0, j = -1; j = 0; i++, j++) {
        k++;
    }
    cout << k << endl;
}

void test4(){
    int a = 11|10;
}

void test5(){
    int a = 1, b = 2, c = 3, d = 0;
    if(a == 1 && b++ == 2){
        if(b != 2 | c-- != 3){
            cout<<a<<b<<c<<endl;
        } else
            cout<<a<<b<<c<<endl;
    } else
        cout<<a<<b<<c<<endl;
}

void test6(){
    printf("%s, %1.1s\n","computer","computer");
}

